package com.aier.user.entity;

import java.util.List;

import com.aier.classes.entity.ClassParent;


/**
 * 点名实体
 */

public class CallRoll implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    // 主键
    private Long crid;
    // 班级id
    private Long cid;
    // 班级学生id
    private Long csid;
    // 状态（1假2旷）
    private Integer state;
    // 点名日期
    private String cdate;
    
    // 学生姓名
    private String sname;
    // 家长列表
    private List<ClassParent> cpList;
    
    private Integer leav; // 请假次数
    private Integer absent; // 旷课次数
    
    
    /** default constructor */
    public CallRoll() {
        super();
    }


    public Long getCrid() {
        return crid;
    }


    public void setCrid(Long crid) {
        this.crid = crid;
    }


    public Long getCid() {
        return cid;
    }


    public void setCid(Long cid) {
        this.cid = cid;
    }


    public Long getCsid() {
        return csid;
    }


    public void setCsid(Long csid) {
        this.csid = csid;
    }


    public Integer getState() {
        return state;
    }


    public void setState(Integer state) {
        this.state = state;
    }


    public String getCdate() {
        return cdate;
    }


    public void setCdate(String cdate) {
        this.cdate = cdate;
    }


    public String getSname() {
        return sname;
    }


    public void setSname(String sname) {
        this.sname = sname;
    }


    public List<ClassParent> getCpList() {
        return cpList;
    }


    public void setCpList(List<ClassParent> cpList) {
        this.cpList = cpList;
    }


    public Integer getLeav() {
        return leav;
    }


    public void setLeav(Integer leav) {
        this.leav = leav;
    }


    public Integer getAbsent() {
        return absent;
    }


    public void setAbsent(Integer absent) {
        this.absent = absent;
    }

}